package two.chapter_1.c1_1;

import edu.princeton.cs.algs4.StdOut;

public class Ex1_1_1 {

    public static void main(String [] args){

        int a=(0+15)/2;
        StdOut.println(a);
        assert a==7;

        /*
            2*10^(-6)*(100000000.1)
            =2*10^(-6)  * 100.0000001*10^6
            =200.0000002
         */
        double b=2.0e-6*100000000.1;
        StdOut.println(b);

        assert b==200.0000002;


        boolean c=true && false || true && true;
        StdOut.println(c);
        assert c==true;
    }
}
